package cn.topevery.garden.entity.po;

import cn.topevery.garden.framework.base.BaseEntity;
import hw.topevery.framework.annotation.DbTable;
import hw.topevery.framework.annotation.DbTableField;
import hw.topevery.framework.enums.DbTypeEnum;
import lombok.Data;

/**
 * 
 *
 * @author code-generate
 * @date 2021-09-08
 */
@Data
@DbTable(tableName = "t_device_object_relate")
public class DeviceObjectRelate extends BaseEntity {
        /**
     * 设备ID
     */
    @DbTableField(columnName = "c_device_id", dbType = DbTypeEnum.INTEGER)
    public Integer deviceId ;

    /**
     * 设备号
     */
    @DbTableField(columnName = "c_code", dbType = DbTypeEnum.VARCHAR)
    public String code ;

    /**
     * 对象类型（0：人，1：车，2：压缩箱，3：公厕、4：中转站,5：巡查人员，6：垃圾桶）
     */
    @DbTableField(columnName = "c_object_type", dbType = DbTypeEnum.INTEGER)
    public Integer objectType ;

    /**
     * 对象ID
     */
    @DbTableField(columnName = "c_object_id", dbType = DbTypeEnum.INTEGER)
    public Integer objectId ;


}
